package com.jidu.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;
import com.jidu.common.annotation.Excel;
import com.jidu.common.core.domain.BaseEntity;

import java.math.BigDecimal;
import java.util.Date;

/**
 * 转班记录对象 jp_change_class_record
 * 
 * @author ruoyi
 * @date 2024-07-24
 */
@ApiModel(value = "JpChangeClassRecord",description = "转班记录对象")
@NoArgsConstructor
@AllArgsConstructor
@Builder
@TableName("jp_change_class_record")
@Data
public class JpChangeClassRecord
{
    private static final long serialVersionUID = 1L;

    /** ID */
    @TableId(type = IdType.AUTO)
    private Long id;

    /** 学生id */
    @Excel(name = "学生id")
    @ApiModelProperty(value = "学生id")
    private Long studentId;

    /** 原学生课程id */
    @Excel(name = "原学生课程id")
    @ApiModelProperty(value = "原学生课程id")
    private Long oldCourseStudentId;

    /** 现学生课程id */
    @Excel(name = "现学生课程id")
    @ApiModelProperty(value = "现学生课程id")
    private Long courseStudentId;

    @ApiModelProperty(value = "描述")
    private String description;

    @ApiModelProperty(value = "创建时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date createTime;

    @ApiModelProperty(value = "创建人")
    private String createBy;

    @ApiModelProperty(value = "新课程id")
    @TableField(exist = false)
    private Long courseId;
    @ApiModelProperty(value = "新老师id")
    @TableField(exist = false)
    private Long teacherId;
    @ApiModelProperty(value = "新教室id")
    @TableField(exist = false)
    private Long classId;
    @ApiModelProperty(value = "价格")
    @TableField(exist = false)
    private BigDecimal price;

}
